package com.foreknow.service;

import com.foreknow.bean.GuestBook;

import java.sql.SQLException;
import java.util.List;

public interface GuestBookService {
    public boolean addBook(GuestBook guestBook);
    public boolean deleteBook(Integer id);

    public GuestBook selectById(Integer id);
    public boolean updateBook(GuestBook guestBook, String name, String phone, String email, String title, String content, String createdTime);

    public List<Object> showAllBook();
    public List<Object> selectBook(String n);
}
